package com.yundasys.lab10designpattern.decorator;

/**
 * @author jiangta
 * @version 1.0
 * @date 2021/3/13 1:36 下午
 */
public class CompetitorDecorator extends Competitor {

    private Competitor competitor;

    public CompetitorDecorator(Competitor competitor) {
        this.competitor = competitor;
    }

    @Override
    public void sing() {
        competitor.sing();
    }
}
